package com.yxw.yx_hotel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/** 
 * @author liuxin
 * @create 2024-01-22 16:56:48 
 * @description 文件表 
 */
@Data
@TableName(value ="yx_report_titel")
@ApiModel(value = "文件表" , description="yx_room_titel")
public class YxReportTitelEntity  implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "titel_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="主键")
    private Long titelId;

    @TableField(value="titel_name")
    @ApiModelProperty(value="字段名称")
    private String titelName;

    @TableField(value="field_name")
    @ApiModelProperty(value="字段名称")
    private String fieldName;

    @TableField(value="sort")
    @ApiModelProperty(value="字段排序")
    private Integer sort;

    @TableField(value="titel_type")
    @ApiModelProperty(value="1:宿舍标题 2：住宿标题")
    private Integer titelType;

}
